<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html" />
	<meta name="author" content="Extalionez" />
	<title>Flash</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>  
    <script type="text/javascript">  
        var flashvars = {};  
        var params = {};  
        params.allowscriptaccess = "always";  
        params.allownetworking = "all";  
        var attributes = {};  
        attributes.id = "player";  
        swfobject.embedSWF("player.swf", "flashDiv", "350", "200", "9.0.0", false, flashvars, params, attributes);  
    </script>
    <script>
        $(document).ready(function(){
            $('#btnPlay').click(function(){
                if($('#flashDiv')[0]){
                    $('#flashDiv')[0].play();
                }else{
                    $('#flashDiv').play();
                }
            });
        });
        
    </script>
</head>

<body>
    <div id="flashDiv"></div>
    <button id="btnPlay">Play</button>
</body>
</html>